var rqAjaxTools = {
	queryRequest:function(rqpath,accessToken,param){
		var url = "http://api.jinbeicat.com:8080/ruqing-query/"+rqpath+"?accessToken="+accessToken;
		var result;
		 $.ajax(url,{					
			type: "post",
			dataType: "json",
			data:param || {},
			async : false,
			headers : {'tnapikey':'ff5ad7b4-90c0-47b0-8469-cdebf635f6a5','channel':'h5'},
			success: function (data) {
				result = data;
			}
		});
		return result;
	},		
	
	serivceRequest:function(rqpath,accessToken,param,returnFn){
		var url = "http://api.jinbeicat.com:8080/ruqing-server/"+rqpath+"?accessToken="+accessToken;
		var result;
		$.ajax(url,{					
			type: "post",
			dataType: "json",
			data:param || {},
			async : false,
			headers : {'tnapikey':'ff5ad7b4-90c0-47b0-8469-cdebf635f6a5','channel':'h5'},
			success: function (data) {
				result = data;
			}
		});
		return result;
	}
}